home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / OOP_Course / Examples / ExtendDraw / DrawView.h < prev    next >
Text File  |  1992-12-19  |  473b  |  25 lines

  1. #import <appkit/View.h>
  2.  
  3. @interface DrawView:View
  4. {
  5.     id shapeList;
  6.     id shapeClassList;
  7.     id shapeClass;
  8.     id selection;
  9.     int fill;
  10.     float currentShade;
  11. }
  12.  
  13. -initFrame:(NXRect const *)r;
  14. -takeShadeFrom:sender;
  15. -takeFillFrom:sender;
  16. -setDrawType:(int)type;
  17. -(int)addShapeClass:class;
  18. -makeNewShape:(NXRect *)bbox;
  19. -addShape:newObject;
  20. -dragOutShape:aShape startingRect:(NXRect *)r;
  21. -mouseDown:(NXEvent *)e;
  22. -selectMouseAction:(NXPoint *)pt;
  23. -drawSelf:(NXRect *)r :(int)c;
  24. @end;
  25.